import App from './App.vue'
import router from './router'
import store from './store'
import { sync } from 'vuex-router-sync'
import * as filters from './filters'
import mixins from './mixins'

sync(store, router)
Object.keys(filters).forEach( key => {
	Vue.filter(key, filters[key])
})

Vue.mixin(mixins)

new Vue(Vue.util.extend({
	el: '#root',
	router,
	store,
}, App))

router.push('/')